<?php
/**
 * 快速导航栏目
 */
namespace Admin\Controller;
use Think\Controller;
class QuickController extends InitController {
	
	
	//快速导航栏目
	public function quick(){
		
		//获取快速导航数组
		$array  = $this->navigation_array();
		
		$this->assign(array(
			'navigation'=>$array,
			'url'=>'http://'.$_SERVER['HTTP_HOST']
		));
		
		$this->display('quick');
	}
	
	
	//导航数组
	private function navigation_array(){
		

		$array  = array(
			'首页'=>U('Home/index/index'),
			'文章列表'=>U('Home/Article/article_list'),
			'文章库文章'=>U('Home/Article/article_list_inside'),
			'新建文章'=>U('Home/Article/our_article'),
			'使用手册'=>U('Home/Index/manualList'),
			'新建广告'=>U('Home/Template/set_word_list'),
			'图片广告'=>U('Home/Template/set_picture'),
			'个人中心'=>U('Home/User/people_centre'),
			'新建链接'=>U('Home/Quicklink/create_quick_link'),
			'我的链接'=>U('Home/Quicklink/quick_link_list'),
			'上传素材'=>U('Home/Material/upload_material_list'),
		);
		return $array;
		
	}
	

}